home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-23 | 744 b | 30 lines | [TEXT/ToyS] |
- set fileList to expand wildcards "Rainbow Hill:MacDOS folder:autoexec.bat"
- tell application "Rainbow Hill:MacDOS folder:MacDOS"
- -- dosExecute "set quote=$"
- -- dosExecute "type $1.1.0 vs 1.0.1$"
- -- dosExecute "set quote ="
-
- -- dosExecute "confirm off"
- -- dosExecute "log zzz"
- -- dosExecute "dir > xyz"
- -- dosExecute "del xyz"
- -- dosExecute "log/-"
- -- dosExecute "type zzz"
- -- dosExecute "del zzz"
-
- -- dosExecute "dir/p"
-
- -- launch
- -- run
- -- open alias "Rainbow Hill:MacDOS folder:autoexec.BAT"
-
- -- setVar "abcd" to "aaaa"
- -- set zzz to (getVar "abcd")
-
- -- quit
- -- dosExecute "log"
- set val to getVar "pippo"
- display dialog (getVar "where") & " " & val
- end tell
- --display dialog "MacDOS returned the string '" & zzz & "'"
-